Adwaita: fix treeview entry style
authorLapo Calamandrei <calamandrei@gmail.com>
Sun, 20 Mar 2016 22:18:49 +0000 (23:18 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Sun, 20 Mar 2016 22:18:49 +0000 (23:18 +0100)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=763955

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 36f4d6de12ff1c7ba60c570e2aa8dc0dbda2a83d..53be3001ab79a56480098a41f937989c1b7f3d2d 100644 (file)
@@ -400,6 +400,16 @@ entry {
   }
 }
 
+treeview entry {
+  &.flat, & {
+    border-radius: 0;
+    background-image: none;
+    background-color: $base_color;
+
+    &:focus { border-color: $selected_bg_color; }
+  }
+}
+
 
 /***********
  * Buttons *
index bc8ddc26c631e5ef8776442ba9aaf6b52a58aeed..28544b752aaf44530fdd07f8de435a1490c65913 100644 (file)
@@ -387,6 +387,13 @@ entry:drop(active):not(:only-child) + button,
 entry:drop(active):not(:only-child) + combobox > box > button.combo {
   border-top-color: #4e9a06; }
 
+treeview entry.flat, treeview entry {
+  border-radius: 0;
+  background-image: none;
+  background-color: #292929; }
+  treeview entry.flat:focus, treeview entry:focus {
+    border-color: #215d9c; }
+
 /***********
  * Buttons *
  ***********/
index 2d6d4cdaf01beca2b486b2fcbdf68e0d55a9bc84..85de7b97f8b01e696f7b3e11943e3fc3b0643d90 100644 (file)
@@ -387,6 +387,13 @@ entry:drop(active):not(:only-child) + button,
 entry:drop(active):not(:only-child) + combobox > box > button.combo {
   border-top-color: #4e9a06; }
 
+treeview entry.flat, treeview entry {
+  border-radius: 0;
+  background-image: none;
+  background-color: #ffffff; }
+  treeview entry.flat:focus, treeview entry:focus {
+    border-color: #4a90d9; }
+
 /***********
  * Buttons *
  ***********/